﻿using HeyPiPi_Desk.Base;
using HeyPiPi_Desk.Domain;
using MaterialDesignThemes.Wpf;
using Microsoft.Practices.Prism.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HeyPiPi_Desk.DomainViewModel
{
     public class VIPLevelManagerViewModel:BaseNotification
    {
        #region 字段/属性 
        /// <summary>
        /// 打开新增会员等级对话框
        /// </summary>
        public DelegateCommand AddNewLevel_Cmd{ get; set; }

        #endregion



        #region 私有方法
        /// <summary>
        /// 初始化数据
        /// </summary>
        private void _initFunc()
        {
            this.AddNewLevel_Cmd = new DelegateCommand(() =>
            {
                DialogHost.Show(new AddNewVipLevelDialog());   
            });
        }

        #endregion

        #region 共有方法

        /// <summary>
        /// 构造函数
        /// </summary>
        public VIPLevelManagerViewModel()
        {
            this._initFunc();
        }
        #endregion
    }
}
